CONDITIONALS: The in operator can also check whether a string is present in another string!
- Click Run and try to answer the question. Note: "python" is the secret word!
- Edit the condition in the if statement to use this code: if secret_word in user_input:
- Click Run now and make any sentence containing the word "python". Just watch out for uppercase letters.
- Change the value of secret_word to a word of your choice and Run the program again to test it.
To navigate the page using the TAB key, first press ESC to exit the code editor.